package cn.icanci.snow.spring.config;

import cn.icanci.snow.spring.bean.BeanScanners;

import java.util.ArrayList;
import java.util.List;

/**
 * @author icanci
 * @date Created in 2021/05/19 18:42
 * @version 1.0
 */
public class BeanScannersImpl implements BeanScanners {
    /**
     * 扫描bean配置
     * @return 返回需要扫描的bean的包
     */
    @Override
    public List<String> loadBasePackages() {
        List<String> basePackageList = new ArrayList<>();
        basePackageList.add("com.test.onepig");
        basePackageList.add("com.test.twopig");
        return basePackageList;
    }
}
